<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns number of threads currently in use</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="function.eio-nreqs.html">« eio_nreqs</a></li>
      <li style="float: right;"><a href="function.eio-open.html">eio_open »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.eio.html">Eio 函数</a></li>
    <li>Returns number of threads currently in use</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.eio-nthreads" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">eio_nthreads</h1>
  <p class="verinfo">(PECL eio &gt;= 0.0.1dev)</p><p class="refpurpose"><span class="refname">eio_nthreads</span> &mdash; <span class="dc-title">Returns number of threads currently in use</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.eio-nthreads-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>eio_nthreads</strong></span>(): <span class="type">int</span></div>

  <p class="para rdfs-comment">

  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.eio-nthreads-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.eio-nthreads-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   <span class="function"><strong>eio_nthreads()</strong></span> returns number of threads currently in
   use.
  </p>
 </div>



 <div class="refsect1 seealso" id="refsect1-function.eio-nthreads-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><span class="function"><a href="function.eio-npending.html" class="function" rel="rdfs-seeAlso">eio_npending()</a> - Returns number of finished, but unhandled requests</span></li>
   <li class="member"><span class="function"><a href="function.eio-nready.html" class="function" rel="rdfs-seeAlso">eio_nready()</a> - Returns number of not-yet handled requests</span></li>
   <li class="member"><span class="function"><a href="function.eio-nreqs.html" class="function" rel="rdfs-seeAlso">eio_nreqs()</a> - Returns number of requests to be processed</span></li>
   <li class="member"><span class="function"><a href="function.eio-set-max-idle.html" class="function" rel="rdfs-seeAlso">eio_set_max_idle()</a> - Set maximum number of idle threads</span></li>
   <li class="member"><span class="function"><a href="function.eio-set-max-parallel.html" class="function" rel="rdfs-seeAlso">eio_set_max_parallel()</a> - Set maximum parallel threads</span></li>
   <li class="member"><span class="function"><a href="function.eio-set-min-parallel.html" class="function" rel="rdfs-seeAlso">eio_set_min_parallel()</a> - Set minimum parallel thread number</span></li>
  </ul>
 </div>


</div></div></div></body></html>